﻿<Page x:Class="Client.View.Login"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
      mc:Ignorable="d" 
      d:DesignHeight="500" d:DesignWidth="800"
	Title="Login">
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>

                <ResourceDictionary Source="/Icons.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedSingleRowTabControl.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>

    </Page.Resources>

    <Grid>
        <Button  Style="{DynamicResource MetroCircleButtonStyle}" Width="42" Height="42" HorizontalAlignment="Left" Click="GoBack" VerticalAlignment="Top" >
            <Rectangle Width="20" Height="16">
                <Rectangle.Fill>
                    <VisualBrush Stretch="Fill" Visual="{StaticResource appbar_arrow_left}" />
                </Rectangle.Fill>
            </Rectangle>
        </Button>
            <WrapPanel Height="150" HorizontalAlignment="Center">
                <StackPanel >

                    <WrapPanel Margin="0 10 0 20">
                        <Label Width="100">User Name:</Label>
                        <TextBox Width="200" Name="UN"></TextBox>
                    </WrapPanel>
                    <WrapPanel>
                        <Label Width="100">Password:</Label>
                        <PasswordBox Width="200" Name="PW"></PasswordBox>
                    </WrapPanel>
                </StackPanel>
                <Controls:Tile Margin="10"  Click="LoginAction" Opacity="1"  Width="70" Height="70">
                    <Controls:MetroImage Source="{DynamicResource appbar_arrow_right}" Margin="15" Height="40"  />
                </Controls:Tile>
            </WrapPanel>
        
    </Grid>
</Page>
